import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
import { resolve } from 'path'
const CWD = process.cwd()
const createSvgIcon = () => {
  return createSvgIconsPlugin({ iconDirs: [resolve(CWD, 'src/assets/icons')] })
}
export default createSvgIcon
